]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Fix check for extended keys
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 24 Sep 2012 16:04:12 +0000 (18:04 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 25 Sep 2012 06:25:25 +0000 (08:25 +0200)
The existing check tested for non-existent properties.

https://bugzilla.gnome.org/show_bug.cgi?id=683546

js/ui/keyboard.js

index 5d62a7ef0d201903cdd9434579db930445023b3c..f01fdffe4645a912a96cab83cbcd0459922382a2 100644 (file)
@@ -289,7 +289,7 @@ const Keyboard = new Lang.Class({
 
         // Showing an extended key popup and clicking a key from the extended keys
         // will grab focus, but ignore that
-        if (focus && (focus._extended_keys || (focus._key && focus._key.extended_key)))
+        if (focus && (focus._extended_keys || focus.extended_key))
             return;
 
         // Ignore focus changes caused by message tray showing/hiding